package com.buaa.pm.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.buaa.pm.enumeration.ExtractionStatus;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("pm_task")
public class Task {
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    private String projectId;

    private String name;

    private int size;

    private String model;

    private double temperature;

    private String sampling;

    private int paperCount;

    private int paraCount;


    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private Date createdAt;
}
